import request from '@/utils/request';

//获取个人信息
export const userinfo = (data) => {
    return request.get('/weappUser/userinfo', { params: data })
}

//修改个人信息
export const updateInfo = (data) =>{
	return request.post('/weappUser/updateInfo',data)
}

export const HealthInfo = (data) => {
    return request.get('/manageLeft/healthInfo', { params: data })
}

//获取疫苗列表
export const getVaccineList = (data) =>{
	return request.get('/manageRight/getVaccineList', { params: data })
}

//获取配种列表
export const getBreed = (data) =>{
	return request.get('/manageRight/getBreed', { params: data })
}

//获取繁殖列表
export const getbreedingList = (data) =>{
	return request.get('/manageLeft/breedingList', { params: data })
}

//获取检疫首页
export const quarantine = (data) =>{
	return request.get('/manageLeft/quarantine', { params: data })
}

//添加配种
export const addBreed=(data)=>{
	return request.post('/manageRight/addBreed',data)
}

//新增疫苗记录
export const addVaccine=(data)=>{
	return request.post('/manageRight/addVaccine',data)
}

//新增检疫信息
export const addQuarantine=(data)=>{
	return request.post('/manageLeft/addQuarantine',data)
}

//新增发情信息
export const addBreeding=(data)=>{
	return request.post('/manageLeft/addBreeding',data)
}

//新增节育信息
export const addNerverBreed=(data)=>{
	return request.post('/manageLeft/addNerverBreed',data)
}